<script>
	export default {
		onLaunch: function(options) {
			if(options.query.team){
				uni.setStorageSync('team',options.query.team)
			}
			if(options.path == 'pages/newIndex/newIndex'){
				uni.redirectTo({
					url:'pages/index/index'
				})
			}
			
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import 'style/common.scss';
	@import 'style/iconfont.css';
	@import "uview-ui/index.scss";
	page{
		-webkit-user-select: text;
		
	}
	
	input{
		-webkit-appearance: none;/*去除阴影边框*/
		outline: none;
		-webkit-tap-highlight-color: rgba(0,0,0,0);/*点击高亮的颜色*/
		box-shadow: none !important;
		-webkit-user-select: auto;  // 解决输入问题；
	}
	
	// 修改loading样式
	uni-toast .uni-toast{
		width: auto;
		padding: 0 20px;
		background: #FFFFFF !important;
		color:#666;
		box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
		border-radius: 4px;
		border: 1px solid #E5E8ED;
	}
	uni-toast .uni-icon_toast.uni-loading {
	    margin: 20px 0 0;
	    width: 25px;
	    height: 25px;
	}
	uni-toast .uni-toast__content{
		font-size: 12px;
	}
	
	// 修改toast
	uni-toast .uni-simple-toast__text {
	    color: #666;
	    background-color: #fff;
		box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
		border-radius: 4px;
		border: 1px solid #E5E8ED;
	}
	
	// 修改轮播图样式
	uni-swiper .uni-swiper-dots-horizontal{
		.uni-swiper-dot{
			background: rgba(255, 255, 255, 0.6);
		}
		.uni-swiper-dot-active{
			width: 24px;
			height: 8px;
			background: #FFFFFF;
			border-radius: 4px;
		}
	}
	uni-app /deep/.u-button--active:before{
		opacity: 0!important;
	}
	
	//在此设置editor的placeholder样式
	.ql-editor.ql-blank:before {
	  font-style: normal;
	  font-size: 14px;
	  color: #bfc7d5;
	}
</style>
